<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	template="/layout/templatebos.xhtml"
	xmlns:a4j="http://richfaces.org/a4j">
	<ui:define name="body">
		<h:form id="bayiAdresForm">
			<h:panelGrid columns="1" id="bayiAdresPanelId" width="500">
				<h:outputText value="#{bayiAdres.enlem} --- #{bayiAdres.boylam} " />
				<h:panelGrid columns="3" id="bayiAdresPanelId2">
					<h:outputText value="Kullanici" style="FONT-WEIGHT: bold;" />
					<h:commandButton action="#{bayiAdres.kullaniciCodeAl}" value="Al" />
                    <h:selectOneMenu value="#{bayiAdres.kullaniciKodu}" >
                    <f:selectItems value="#{bayiAdres.kullaniciList}" />
                    </h:selectOneMenu>
					<h:outputText value="Bayi" style="FONT-WEIGHT: bold;" />
					<h:commandButton action="#{bayiAdres.bayiCodeAl}" value="Al" />
					<h:selectOneMenu value="#{bayiAdres.instance}" id="bayilerId">
						<s:selectItems var="_bayi" value="#{bayiAdres.bayilerList}"
							label="#{_bayi.unvan}" id="bayiSecimId" noSelectionLabel="">
						</s:selectItems>
						<s:convertEntity />
 		</h:selectOneMenu>
 				<h:outputText value="İl" style="FONT-WEIGHT: bold;" />
					<h:commandButton action="#{bayiAdres.ilCodeAl}" value="Al" />
					<h:selectOneMenu value="#{bayiAdres.iller}" id="IlID">
						<s:selectItems var="_il" value="#{illerList.illerList}"
							label="#{_il.ilAdi}" noSelectionLabel="">
						</s:selectItems>
						<s:convertEntity />
					</h:selectOneMenu>
					<h:outputText value="İlçe" style="FONT-WEIGHT: bold;" />
					<h:commandButton action="#{bayiAdres.ilceCodeAl}" value="Al" />
					<h:selectOneMenu value="#{bayiAdres.ilce}" id="ilcelerId">
						<s:selectItems var="_ilce" value="#{bayiAdres.ilcelerList}"
							label="#{_ilce.ilceAdi}" id="ilceSecimID" noSelectionLabel="">
						</s:selectItems>
						<s:convertEntity />
					</h:selectOneMenu>
					<h:outputText value="Semt" style="FONT-WEIGHT: bold;" />
					<h:outputText value="" />
					<h:selectOneMenu value="#{bayiAdres.semt}" id="semtlerId">
						<s:selectItems var="_semt" value="#{bayiAdres.semtlerList}"
							label="#{_semt.semtAdi}" id="semtSecimId" noSelectionLabel="">
						</s:selectItems>
						<s:convertEntity />
					</h:selectOneMenu>
				</h:panelGrid>
				<h:panelGrid columns="3" id="bayiAdresPanelId23">
					<h:outputText value="PK" style="FONT-WEIGHT: bold;" />
					<h:inputText id="postaAdi" size="10"
						value="#{bayiAdres.instance.postaKodu}">
				<!-- 		<a:support event="onblur" reRender="postaAdiField"
							bypassUpdates="true" ajaxSingle="true" />  -->
 					</h:inputText>
 					<h:outputText value="" style="FONT-WEIGHT: bold;" />
					<h:outputText value="Cadde" style="FONT-WEIGHT: bold;" />
					<h:inputText id="caddeAdi" size="20"
						value="#{bayiAdres.instance.cadde}" style=" width : 225px;">
					   <!-- 	<a:support event="onblur" reRender="caddeAdiField"
							bypassUpdates="true" ajaxSingle="true" /> -->
					</h:inputText>
					<h:outputText value="" style="FONT-WEIGHT: bold;" />
					<h:outputText value="Sokak" style="FONT-WEIGHT: bold;" />
					<h:inputText id="sokakAdi" size="20"
						value="#{bayiAdres.instance.sokak}" style=" width : 226px;">
				    <!-- 		<a:support event="onblur" reRender="sokakAdiField"
							bypassUpdates="true" ajaxSingle="true" /> -->
					</h:inputText> 
					<h:outputText value="" style="FONT-WEIGHT: bold;" />
					<h:outputText value="Bina No" style="FONT-WEIGHT: bold;" />
					<h:inputText id="binoNo" size="10"
						value="#{bayiAdres.instance.binaNo}">
					   <!-- 	<a:support event="onblur" reRender="binaNoField"
							bypassUpdates="true" ajaxSingle="true" /> -->
					</h:inputText>
					<h:outputText value="" style="FONT-WEIGHT: bold;" />
					<h:outputText value="Bina Adı" style="FONT-WEIGHT: bold;" />
					<h:inputText id="binoAdi" size="10"
						value="#{bayiAdres.instance.binaAdi}">
				<!-- 		<a:support event="onblur" reRender="binaAdiField"
							bypassUpdates="true" ajaxSingle="true" />  -->
					</h:inputText>
					<h:outputText value="" style="FONT-WEIGHT: bold;" />
					<h:outputText value="Kat" style="FONT-WEIGHT: bold;" />
					<h:inputText id="kat" size="10" value="#{bayiAdres.instance.katNo}">
					<!-- 	<a:support event="onblur" reRender="katField" bypassUpdates="true"
							ajaxSingle="true" />  -->
					</h:inputText>
					<h:outputText value="" style="FONT-WEIGHT: bold;" />
					<h:outputText value="Daire" style="FONT-WEIGHT: bold;" />
					<h:inputText id="daire" size="10"
						value="#{bayiAdres.instance.daireNo}">
					<!--  	<a:support event="onblur" reRender="daireField"
							bypassUpdates="true" ajaxSingle="true" /> -->
					</h:inputText>
					<h:outputText value="" style="FONT-WEIGHT: bold;" />
				</h:panelGrid>
				<div class="actionButtons"><h:commandButton id="save"
					value="Kaydet" action="#{bayiAdres.persist}" /></div>
			</h:panelGrid>
		</h:form>
	</ui:define>

</ui:composition>
